package com.wangshuqi.spring;

/*
 * BeanPostProcessor处理机制
 * Bean的post处理
 * */
public interface BeanPostProcessor {

    default Object postProcessBeforeInitialization(Object bean, String beanName) throws Exception {
        return bean;
    }

    default Object postProcessAfterInitialization(Object bean, String beanName) throws Exception {
        return bean;
    }
}
